How to make Firefox use TCP for DNS
Posted
by
miniBill
on Super User
See other posts from Super User
or by miniBill
Published on 2012-09-16T19:27:47Z
Indexed on
2012/09/16
21:42 UTC
Read the original article
Hit count: 645
I want to use TCP for DNS, to bypass my ISP's slow and broken DNS servers. I'm not using (and don't want to use) a proxy.
Note: I want to use DNS over TCP because if I use it over udp, no matter what server I set, I get answers from my ISP's DNS.
Notice that I will fiercely downvote whoever suggests:
- programs to do TCP over DNS,
- the setting in
about:config
to make DNS go over the proxy too: I'm not using a proxy, - use another DNS: I've already set up Google as my DNS, but I get intercepted.
Example of what I mean by saying intercept:
$ dig @8.8.8.8 thepiratebay.se
; <<>> DiG 9.8.1 <<>> @8.8.8.8 thepiratebay.se
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24385
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;thepiratebay.se. IN A
;; ANSWER SECTION:
thepiratebay.se. 28800 IN A 83.224.65.41
;; Query time: 50 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Sep 16 22:51:06 2012
;; MSG SIZE rcvd: 49
$ dig +tcp @8.8.8.8 thepiratebay.se
; <<>> DiG 9.8.1 <<>> +tcp @8.8.8.8 thepiratebay.se
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15131
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;thepiratebay.se. IN A
;; ANSWER SECTION:
thepiratebay.se. 436 IN A 194.71.107.15
;; Query time: 61 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Sep 16 22:51:10 2012
;; MSG SIZE rcvd: 49
If it matters, I'm using Firefox 14 on Gentoo Linux.
© Super User or respective owner